package com.gxa.weixing.core.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author ChenJ
 * @date 2022/01/06 9:21
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
@Table(name = "tb_gold_run")
public class GoldRun implements Serializable {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "gold_run_id")
    @ApiModelProperty(name = "id", value = "用户编号", dataType = "Long", example = "1")
    private Long id;

    @Column(name = "gold_run_certification_open")
    @ApiModelProperty(name = "certificationOpen", value = "实名是否开启返金币   true/false", dataType = "Boolean", example = "true")
    private Boolean certificationOpen;

    @Column(name = "gold_run_certification_amount")
    @ApiModelProperty(name = "certificationAmount", value = "实名返金币数额", dataType = "BigDecimal", example = "50")
    private BigDecimal certificationAmount;

    @Column(name = "gold_run_sfz_open")
    @ApiModelProperty(name = "SfzOpen", value = "绑定手机是否开启返金币  是/否", dataType = "Boolean", example = "true")
    private Boolean SfzOpen;

    @Column(name = "gold_run_sfz_amount")
    @ApiModelProperty(name = "SfzAmount", value = "绑定手机返金币数额", dataType = "BigDecimal", example = "50")
    private BigDecimal SfzAmount;

    @Column(name = "gold_run_invite_friends_open")
    @ApiModelProperty(name = "inviteFriendsOpen", value = "邀请好友是否开启返金币  是/否", dataType = "Boolean", example = "true")
    private Boolean inviteFriendsOpen;

    @Column(name = "gold_run_invite_friends_amount")
    @ApiModelProperty(name = "SfzAmount", value = "邀请好友返金币数额", dataType = "BigDecimal", example = "50")
    private BigDecimal inviteFriendsAmount;

    @Column(name = "gold_run_ios_tmk")
    @ApiModelProperty(name = "iosTmk", value = "平台客服电话", dataType = "String", example = "110")
    private String iosTmk;

    @Column(name = "gold_run_ios_company_time")
    @ApiModelProperty(name = "iosCompanyTime", value = "平台工作时间", dataType = "String", example = "工作日08:00-21:00")
    private String iosCompanyTime;

    @Column(name = "gold_run_ios_site")
    @ApiModelProperty(name = "iosSite", value = "平台地址", dataType = "String", example = "江西省抚州市黎川县")
    private String iosSite;

}
